// pages/tabMolding/tabMolding.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    houseMolding:''
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    wx.request({
      url: 'http://www.house.com/index.php/api/houseMolding',
      success:res=>{
          this.setData({
            houseMolding:res.data.data
          })
      }
    })
  },

  houseMolding(e){
    var houseMoldingId= e.currentTarget.dataset.housemolding
    wx.setStorageSync('houseMoldingId', houseMoldingId)
    wx.navigateBack({
      delta: 0,
    })
    
  }

  
})